﻿<Window x:Class="cpe.cpein.UI.Forms.FConnection"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="CPEIn Connexion" Height="180" Width="510"
        MaxHeight="180" MaxWidth="510"
        MinHeight="180" MinWidth="510" ResizeMode="NoResize">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="20" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="25" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition MinWidth="35" MaxWidth="10" />
            <ColumnDefinition Width="201" />
            <ColumnDefinition MinWidth="10" MaxWidth="10" />
            <ColumnDefinition Width="201" />
            <ColumnDefinition MinWidth="35" MaxWidth="10" />
        </Grid.ColumnDefinitions>

        <Label Name="lblLogin" Content="Nom d'utilisateur" Grid.Row="1" Grid.Column="1"/>
        <TextBox Name="txbLogin" Text="" Grid.Row="1" Grid.Column="3" />

        <Label Name="lblPassword" Content="Mot de passe" Grid.Row="2" Grid.Column="1"/>
        <PasswordBox Name="txbPassword" Grid.Row="2" Grid.Column="3" />
        <TextBlock Grid.Row="3" Grid.Column="3" Grid.RowSpan="1" Text="S'inscrire" Name="btnRegister" Margin="30,0,30,0" VerticalAlignment="Center" HorizontalAlignment="Right" Width="60" Background="White" Foreground="#FF0B1E91" FontWeight="Bold" />
        <CheckBox Grid.Row="3" Grid.Column="3" HorizontalAlignment="Right" VerticalAlignment="Center" Name="chkNew"/>
        <Button Grid.Row="4" Grid.Column="1" Grid.RowSpan="2" Content="Se Connecter" Name="btnConnection" Click="btnConnection_Click" ToolTip="Se connecter à l'application" Margin="0,5,0,20"/>
        <Button Grid.Row="4" Grid.Column="3" Grid.RowSpan="2" Content="Quitter" Name="btnCancel" Click="btnCancel_Click" ToolTip="Quitter l'application" Margin="0,5,0,20" />
    </Grid>
</Window>
